.class public Lcom/waiqin365/lightapp/view/ItemTextView;
.super Landroid/widget/LinearLayout;


# instance fields
.field public a:Ljava/lang/Object;

.field public b:Z

.field c:Z

.field private d:Landroid/content/Context;

.field private e:Landroid/widget/ImageView;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/view/View;

.field private i:Landroid/view/View;

.field private j:Landroid/view/View;

.field private k:Lcom/waiqin365/lightapp/view/fu;

.field private l:Landroid/widget/ImageView;

.field private m:Landroid/widget/RelativeLayout;

.field private n:Landroid/widget/TextView;

.field private o:Landroid/widget/TextView;

.field private p:Ljava/lang/String;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->b:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->c:Z

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->d:Landroid/content/Context;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/ItemTextView;->a()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/ItemTextView;)Lcom/waiqin365/lightapp/view/fu;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->k:Lcom/waiqin365/lightapp/view/fu;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->d:Landroid/content/Context;

    const-string/jumbo v1, "layout_inflater"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    const v1, 0x7f03027f

    invoke-virtual {v0, v1, p0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    const v0, 0x7f0c0c3e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/ItemTextView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->j:Landroid/view/View;

    const v0, 0x7f0c0083

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/ItemTextView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->e:Landroid/widget/ImageView;

    const v0, 0x7f0c0c40

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/ItemTextView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->f:Landroid/widget/TextView;

    const v0, 0x7f0c0c41

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/ItemTextView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->g:Landroid/widget/TextView;

    const v0, 0x7f0c0c46

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/ItemTextView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->h:Landroid/view/View;

    const v0, 0x7f0c0c3f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/ItemTextView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->i:Landroid/view/View;

    const v0, 0x7f0c0c42

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/ItemTextView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->l:Landroid/widget/ImageView;

    const v0, 0x7f0c0c43

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/ItemTextView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->m:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c0c44

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/ItemTextView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->n:Landroid/widget/TextView;

    const v0, 0x7f0c0c45

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/ItemTextView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->o:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->m:Landroid/widget/RelativeLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->j:Landroid/view/View;

    new-instance v1, Lcom/waiqin365/lightapp/view/ft;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/ft;-><init>(Lcom/waiqin365/lightapp/view/ItemTextView;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method public b()Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->a:Ljava/lang/Object;

    if-nez v0, :cond_0

    new-instance v0, Ljava/lang/Object;

    invoke-direct {v0}, Ljava/lang/Object;-><init>()V

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->a:Ljava/lang/Object;

    goto :goto_0
.end method

.method public c()Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->c:Z

    return v0
.end method

.method public setBottomLineVisibility(Z)V
    .locals 2

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->h:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->h:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method public setContent(Ljava/lang/String;)V
    .locals 1

    if-eqz p1, :cond_0

    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->f:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method

.method public setData(Ljava/lang/Object;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->a:Ljava/lang/Object;

    return-void
.end method

.method public setEditable(Z)V
    .locals 3

    const v2, 0x7f02001e

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->f:Landroid/widget/TextView;

    const-string/jumbo v1, "#1a1a1a"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->l:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->e:Landroid/widget/ImageView;

    const v1, 0x7f0200fd

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->f:Landroid/widget/TextView;

    const-string/jumbo v1, "#bdbdbd"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->l:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->e:Landroid/widget/ImageView;

    const v1, 0x7f020412

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0
.end method

.method public setIsFinish(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->b:Z

    return-void
.end method

.method public setIsMust(Z)V
    .locals 2

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->c:Z

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->e:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->e:Landroid/widget/ImageView;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_0
.end method

.method public setOnItemClickListener(Lcom/waiqin365/lightapp/view/fu;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->k:Lcom/waiqin365/lightapp/view/fu;

    return-void
.end method

.method public setSatusData(Ljava/lang/String;Ljava/lang/String;)V
    .locals 2

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_3

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->m:Landroid/widget/RelativeLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->n:Landroid/widget/TextView;

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string/jumbo p1, ""

    :cond_1
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->o:Landroid/widget/TextView;

    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_2

    const-string/jumbo p2, ""

    :cond_2
    invoke-virtual {v0, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_3
    return-void
.end method

.method public setStatus(Ljava/lang/String;)V
    .locals 2

    if-eqz p1, :cond_0

    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->g:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->g:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->g:Landroid/widget/TextView;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->g:Landroid/widget/TextView;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0
.end method

.method public setTagStr(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->p:Ljava/lang/String;

    return-void
.end method

.method public setToplineVisibility(Z)V
    .locals 2

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->i:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ItemTextView;->i:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method
